package auto.app.service;

import auto.app.controller.from.*;
import auto.app.controller.info.CasePageInfo;
import auto.app.controller.info.CollectionPageInfo;
import auto.app.exetion.MainExection;
import auto.app.model.CaseDaoDto;
import auto.app.model.TestCollection;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-07-24
 */
public interface TestCollectionService extends IService<TestCollection> {

    public Boolean addTestCollection(AddTestCollectionFrom addTestCollectionFrom) throws MainExection;

    public CasePageInfo CaselistCollection(CollectionCasePageFrom collectionCasePageFrom) throws MainExection;

    public Boolean caseListSort(CollectionCaseSortFrom collectionCaseSortFrom) throws MainExection;

    public CollectionPageInfo list(CollectionPage collectionPage);

    public Boolean deleteCase(CollectionCaseDeleteFrom collectionCaseDeleteFrom) throws MainExection;

    public Boolean addTestCase( AddTestCollectionCaseFrom addTestCollectionCaseFrom) throws MainExection;

    public Boolean execute(Integer id,Boolean bool,Integer acconutId,String accountName) throws Exception;

    public Boolean deleteList(TestCollectionDeleteFrom testCollectionDeleteFrom) throws MainExection;

}
